##########################################################################
#
# This program can:
#
#  Load, edit, and save/compile a file.
#
# Problems:
#
#
# Needs loader integrated.
#
##########################################################################

TEMPLATE = app

QT += qml quick
#QT += core-private gui-private

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

DEFINES += IDEVERSION=0
DEFINES += MINVERSION=1

android: DEFINES += ANDROID

SOURCES += main.cpp \
    openspin/PropellerCompiler/BlockNestStackRoutines.cpp \
    openspin/PropellerCompiler/CompileDatBlocks.cpp \
    openspin/PropellerCompiler/CompileExpression.cpp \
    openspin/PropellerCompiler/CompileInstruction.cpp \
    openspin/PropellerCompiler/CompileUtilities.cpp \
    openspin/PropellerCompiler/DistillObjects.cpp \
    openspin/PropellerCompiler/Elementizer.cpp \
    openspin/PropellerCompiler/ErrorStrings.cpp \
    openspin/PropellerCompiler/ExpressionResolver.cpp \
    openspin/PropellerCompiler/InstructionBlockCompiler.cpp \
    openspin/PropellerCompiler/PropellerCompiler.cpp \
    openspin/PropellerCompiler/StringConstantRoutines.cpp \
    openspin/PropellerCompiler/SymbolEngine.cpp \
    openspin/PropellerCompiler/Utilities.cpp \
    openspin/SpinSource/objectheap.cpp \
    openspin/SpinSource/openspin.cpp \
    openspin/SpinSource/pathentry.cpp \
    openspin/SpinSource/flexbuf.c \
    openspin/SpinSource/preprocess.c \
    openspin/SpinSource/textconvert.cpp \
    documentmanager.cpp \
    widentifymanager.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Default rules for deployment.
include(deployment.pri)

HEADERS += \
    openspin/PropellerCompiler/CompileUtilities.h \
    openspin/PropellerCompiler/Elementizer.h \
    openspin/PropellerCompiler/ErrorStrings.h \
    openspin/PropellerCompiler/PropellerCompiler.h \
    openspin/PropellerCompiler/PropellerCompilerInternal.h \
    openspin/PropellerCompiler/SymbolEngine.h \
    openspin/PropellerCompiler/Utilities.h \
    openspin/SpinSource/flexbuf.h \
    openspin/SpinSource/objectheap.h \
    openspin/SpinSource/pathentry.h \
    openspin/SpinSource/preprocess.h \
    openspin/SpinSource/textconvert.h \
    documentmanager.h \
    widentifymanager.h

OTHER_FILES += \
    android/AndroidManifest.xml


ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
